package com.beadhouse.retreat.service;
import com.beadhouse.entity.RetreatEntity;
import com.beadhouse.retreat.ao.DealRetreatAo;
import com.beadhouse.retreat.ao.RetreatAo;
import com.beadhouse.retreat.ao.UpdateRetreatAo;
import com.beadhouse.retreat.dto.RetreatDto;
import com.github.pagehelper.PageInfo;


public interface CustomerManagementService  {
	/**
	 * 办理退住
	 * @param ao name retreatType retreatReason  createTime退住时间  updateTime申请时间
	 * @throws Exception
	 */
	public void addRetreatRecord(DealRetreatAo ao)throws Exception;
	/**
	 * 删除退住记录
	 * @param RetreatId
	 * @throws Exception
	 */
	public void deleteRetreatRecord(String RetreatId)throws Exception;
	/**
	 * 更行退住记录
	 * @param RetreatEntity
	 * @throws Exception
	 */
	public void updateRetreatRecord(UpdateRetreatAo ao)throws Exception;
	/**
	 * 列表查看客户退住记录
	 * @param pageNum 页码   key 关键字
	 * @return	RetreatDto列表
	 * @throws Exception
	 */
	public PageInfo<RetreatEntity> listretreatRecord(String pageNum,String key)throws Exception;
	
}
